<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.global.js"></script>
</head>
<body>
<div id = 'app'>
    <!--    template渲染时不会作为节点-->
    <template v-if="isShow">
        <div>111</div>
        <div>222</div>
    </template>
</div>
<script>
    const app = Vue.createApp({
        data() {
            return {
                isShow: true,
            }
        },
    });
    let vm = app.mount('#app');

</script>
</body>
</html>